package com.codegzy.dao;

import com.codegzy.entity.Emp;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmpDAO {
    List<Emp> findAll();

    void save(Emp emp);

    void delete(int id);

    void updateEmp(Emp emp);
}
